package com.carefree.bookmall.exception;

/**
 * @ClassName:CustomException
 * @Description: 自定义异常
 * @Author Tengbin
 */
public class CustomException extends Exception {

    /**
     * 异常消息
     */
    private String message;

    public CustomException() {
    }

    public CustomException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
